package org.crazyit.activiti_d2._4_Schema;

import org.activiti.engine.ProcessEngineConfiguration;

public class SchemaUpdate_False {

    public static void main(String[] args) {

        //1. 读取schemaUpdate-false.xml 文件, 并创建流程引擎配置实例
        ProcessEngineConfiguration config = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("schemaUpdate-false.xml");

        //2. 启动Activiti
        //因为流程引擎的databaseSchemaUpdate 属性值为false, 所以XML 中配置的数据库不存在, 则会抛出异常
        config.buildProcessEngine();

    }

}
